package smodel;

/**
 * This is just a wrapper for creating a plane-jane model we'd like to use locally only,
 * but where the Model interface might be expected.
 * 
 * @author Kristopher L. Kalish, James Madison University
 * @version 1 - April 11, 2008
 *
 * @param <T>
 */
public class LocalModel<T extends NamedModel> implements Model<T>
{
	private T         state;
	
	public LocalModel(T state)
	{
		setState(state);
	}
	
	public T getState()
	{
		return state;
	}
	
	public void setState(T state)
	{
		this.state = state;
	}
}
